Ollama 0.9.0

Ollama 0.9.0

New models

Thinking

์ด์ œ ์˜ฌ๋ผ๋งˆ์— ์‚ฌ๊ณ  ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™” ๋˜๋Š” ๋น„ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ์‚ฌ์šฉ์ž๋Š” ๋‹ค์–‘ํ•œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜๊ณผ ์‚ฌ์šฉ ์‚ฌ๋ก€์— ๋งž๊ฒŒ ๋ชจ๋ธ์˜ ์‚ฌ๊ณ  ๋™์ž‘์„ ์œ ์—ฐํ•˜๊ฒŒ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์‚ฌ๊ณ ๊ฐ€ ํ™œ์„ฑํ™”๋˜๋ฉด ๋ชจ๋ธ์˜ ์ถœ๋ ฅ์—์„œ ๋ชจ๋ธ์˜ ์‚ฌ๊ณ ๊ฐ€ ๋ถ„๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ์‚ฌ๊ณ ๊ฐ€ ๋น„ํ™œ์„ฑํ™”๋˜๋ฉด ๋ชจ๋ธ์€ ์‚ฌ๊ณ ํ•˜์ง€ ์•Š๊ณ  ์ฝ˜ํ…์ธ ๋ฅผ ์ง์ ‘ ์ถœ๋ ฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

Models that support thinking:

When running a model that supports thinking, Ollama will now display the model's thoughts:

% ollama run deepseek-r1
>>> How many Rs are in strawberry
Thinking...
First, I need to understand what the question is asking. It's asking how many letters 'R' are present in the word "strawberry."

Next, I'll examine each letter in the word individually.

I'll start from the beginning and count every occurrence of the letter 'R.'

After reviewing all the letters, I determine that there are three instances where the letter 'R' appears in the word "strawberry."
...done thinking.

There are three **Rs** in the word **"strawberry"**.

In Ollama's API, a model's thinking is now returned as a separate thinking field for easy parsing:

{
  "message": {
    "role": "assistant",
    "thinking": "First, I need to understand what the question is asking. It's asking how many letters 'R' are present in the word "strawberry...",
    "content": "There are **3** instances of the letter **R** in the word **"strawberry."**"
  }
}

Turning thinking on and off

In the API, thinking can be enabled by passing "think": true and disabled by passing "think": false

curl http://localhost:11434/api/chat -d '{
  "model": "deepseek-r1",
  "messages": [
    {
      "role": "user",
      "content": "Why is the sky blue?"
    },
  ],
  "think": true
}'

In Ollama's CLI, use /set think and /set nothink to enable and disable thinking.

What's Changed

Full Changelog: https://github.com/ollama/ollama/releases/tag/v0.9.0